//src/user/user.module.ts
import { Module } from '@nestjs/common';
import { TypeOrmModule } from '@nestjs/typeorm';
import { User } from './entities/user.entity';
import { UserRepository } from './repositories/user.repo';
import { AuthService } from './auth/auth.service';
import { AuthGuard } from './auth/auth.guard';
import { CloudApiService } from 'src/core/cloudApi.service';
import { UserController } from './user.controller';
@Module({
  imports: [TypeOrmModule.forFeature([User])],
  controllers: [UserController],
  providers: [UserRepository, AuthService, AuthGuard,CloudApiService],
  exports: [AuthGuard, AuthService,CloudApiService],
})
export class UserModule {}